<?php
require_once "config.php";
require_once "filter.php";
require_once "simplepie/simplepie.inc";
require_once "Connection.php";
require_once "GoogleAPI.php";
session_start();

$new_category = $_POST['NEW_CATEGORY'];

$conn = new Connection();
$data = $conn->addCategory($new_category);

echo json_encode($data);

?>